<script>
$(document).ready(function() {
    $('#detil_setoran_bank').dataTable( {
		"bJQueryUI": true,
        "aLengthMenu": [[10,25,50, 100, -1], [10,25,50,100, "All"]],
		"sPaginationType": "full_numbers",
		"oLanguage": {
            "sLengthMenu": "Menampilkan _MENU_ data",
            "sZeroRecords": "Belum ada data SPBU yang tersimpan",
            "sInfo": "",
            "sInfoEmpty": "",
            "sInfoFiltered": "(Hasil filter dari _MAX_ yang didapat)"
        }
    } );
} );
</script>
<table id="detil_setoran_bank" width="100%" align="center">
	<thead>
		<tr>
			<th>No</th>
			<th>No. Polisi</th>
			<th>No. SPJ</th>
			<th>Sopir</th>
			<th>Asal</th>
			<th>Tujuan</th>
			<th>Kasir</th>
			<th>Total Setoran</th>
		</tr>
	</thead>
	<tbody>
		<?php for($i=0;$i<count($list);$i++){?>
		<tr>
			<td><?php echo ($i+1)?></td>
			<td><?php echo $list[$i]['NoPol']?></td>
			<td><?php echo $list[$i]['NoSPJ']?></td>
			<td><?php echo $list[$i]['driver']?></td>
			<td><?php echo $list[$i]['asal']?></td>
			<td><?php echo $list[$i]['tujuan']?></td>
			<td><?php echo $list[$i]['nama']?></td>
			<td><?php echo $list[$i]['total_setoran']?></td>
		</tr>
		<?php } ?>        
	</tbody>
</table>